package one;

import java.util.ArrayList;
import java.util.Scanner;

public class ScrambledWords 
{
	public static ArrayList<String> getWords()
	{
		ArrayList<String> result = new ArrayList<String>();
		Scanner sc = new Scanner(System.in);
		for (int i = 0; i < 5; i++)
		{
			String s = sc.nextLine();
			result.add(s);
		}
		return result;
	}
	
	public static void main(String[] args)
	{
		ArrayList<String> strings = getWords();
		for(String s: strings)
		{
			System.out.println(s);
		}
	}
}
